phpseclib3\Crypt\Common\SymmetricKey D

Total Complexity 317
Dependencies 17
Dependents 2
Total lines 2,895
Lines of code 1,594
Logical lines of code 888
Comment lines 636
Methods 46
Properties 32

Methods 46

Method Rating Maintainability Complexity Lines of code
decrypt()
D
16
64 278
encrypt()
D
18
57 264
createInlineCryptFunction()
D
20
9 435
setPassword()
C
33 24 95
openssl_ctr_process()
B
40 16 64
setup()
B
44 17 40
__construct()
A
47 13 35
isValidEngineHelper()
A
51 9 28
openssl_translate_mode()
A
58 8 18
openssl_ofb_process()
A
49 7 32
setTag()
S
59 8 13
pkcs12helper()
S
48 6 33
getTag()
S
58 7 14
setEngine()
S
53 5 26
setIV()
S
57 5 16
setPoly1305Key()
S
59 5 13
setupGCM()
S
56 4 18
unpad()
S
63 4 10
isValidEngine()
S
62 3 12
pad()
S
60 3 12
poly1305()
S
54 2 20
setAAD()
S
70 3 6
setKey()
S
65 3 8
setKeyLength()
S
67 3 7
setPreferredEngine()
S
63 3 10
ghash()
S
58 2 15
enableContinuousBuffer()
S
64 3 10
disableContinuousBuffer()
S
65 3 10
usesIV()
S
79 2 3
setNonce()
S
69 2 7
enablePoly1305()
S
71 2 6
getMode()
S
79 1 3
len64()
S
77 1 3
nullPad128()
S
73 1 4
enablePadding()
S
81 1 3
setupKey()
S
100 1 0
decryptBlock()
S
100 1 0
encryptBlock()
S
100 1 0
getEngine()
S
80 1 3
disablePadding()
S
81 1 3
initialize_static_variables()
S
89 1 2
getBlockLengthInBytes()
S
82 1 3
getBlockLength()
S
80 1 3
getKeyLength()
S
80 1 3
usesNonce()
S
80 1 3
continuousBufferEnabled()
S
82 1 3